package com.syl.orm.ibatis;

import java.sql.Connection;
import java.util.Map;

/**
 * @Description:
 * @author: YunLong
 * @date: 2022-08-25 16:32
 **/
public class Configuration {
    /**
     * sql链接
     */
    protected Connection connection;
    /**
     * 数据源
     */
    protected Map<String, String> dataSource;
    /**
     * 对应的mapper执行元素
     */
    protected Map<String, XNode> mapperElement;

    public void setConnection(Connection connection) {
        this.connection = connection;
    }

    public void setDataSource(Map<String, String> dataSource) {
        this.dataSource = dataSource;
    }

    public void setMapperElement(Map<String, XNode> mapperElement) {
        this.mapperElement = mapperElement;
    }
}
